package com.cheejee.goodscenter.module.entity;

import java.math.BigDecimal;

public class SkuSnapshot {
	
    private Long id;

    private Long skuId;

    private Long goodsId;

    private BigDecimal price;

    private Integer stock;

    private String pic;

    private Integer version;

    private Boolean isOn;

    private String specificGroup;

    private String webDetail;

    private String mobileDetail;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStocc() {
        return stock;
    }

    public void setStocc(Integer stock) {
        this.stock = stock;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Boolean getIsOn() {
        return isOn;
    }

    public void setIsOn(Boolean isOn) {
        this.isOn = isOn;
    }

    public String getSpecificGroup() {
        return specificGroup;
    }

    public void setSpecificGroup(String specificGroup) {
        this.specificGroup = specificGroup == null ? null : specificGroup.trim();
    }

    public String getWebDetail() {
        return webDetail;
    }

    public void setWebDetail(String webDetail) {
        this.webDetail = webDetail == null ? null : webDetail.trim();
    }

    public String getMobileDetail() {
        return mobileDetail;
    }

    public void setMobileDetail(String mobileDetail) {
        this.mobileDetail = mobileDetail == null ? null : mobileDetail.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", skuId=").append(skuId);
        sb.append(", goodsId=").append(goodsId);
        sb.append(", price=").append(price);
        sb.append(", stock=").append(stock);
        sb.append(", pic=").append(pic);
        sb.append(", version=").append(version);
        sb.append(", isOn=").append(isOn);
        sb.append(", specificGroup=").append(specificGroup);
        sb.append(", webDetail=").append(webDetail);
        sb.append(", mobileDetail=").append(mobileDetail);
        sb.append("]");
        return sb.toString();
    }
}